package com.wxyzz.canteenadmin.shop.shopList.service;

import com.github.pagehelper.PageInfo;
import com.wxyzz.canteenadmin.shop.shopList.VO.ShopVO;
import com.wxyzz.canteenadmin.shop.shopList.param.ShopAddParam;
import com.wxyzz.canteenadmin.shop.shopList.param.ShopListPageParam;
import com.wxyzz.canteencommon.entity.shop.shopList.ShopList;

import java.util.List;

public interface ShopListService {
    //分页和模糊查询
    PageInfo<ShopList> page (ShopListPageParam shopListPageParam);
    //根据id查询
    ShopList findById (Integer id);
    //根据id删除
    void deleteById (Integer id);
    //批量删除
    void deleteBatch (List<Integer> ids);
    //添加
    void addShop (ShopAddParam shopAddParam);
    //根据id更新
    void updateById (ShopList shopList);
    //查询所有店铺
    List<ShopVO> findShops ();
}
